package org.example.mapper;


import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.dto.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
@Mapper
public interface UserMapper  {
    @Select("SELECT * FROM user")
   List<User> findAll();
}
